<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<center>
		<form action="addBookUrl.dc" method="post">
			<table>
				<tr><td>编号：<input value="0" readonly="readonly" /></td></tr>
				<tr><td>书名：<input name="bname" /></td></tr>
				<tr><td>描述：<input name="bdesc" /></td></tr>
				<tr><td>作者：<input name="bauthor" /></td></tr>
				<tr><td>公共图书：<input name="publicBook" /></td></tr>
				<tr><td>价格：<input name="price" onkeyup="this.value=this.value.replace(/[^\d]/g,'') " onafterpaste="this.value=this.value.replace(/[^\d]/g,'') " /></td></tr>
			 	<tr><td>类型：<input name="btype" onkeyup="this.value=this.value.replace(/[^\d]/g,'') " onafterpaste="this.value=this.value.replace(/[^\d]/g,'') " /></td></tr>
				<tr><td>页码：<input name="pageNum" onkeyup="this.value=this.value.replace(/[^\d]/g,'') " onafterpaste="this.value=this.value.replace(/[^\d]/g,'') " /></td></tr>
				<tr><td><input type="submit" value="RegisterBook." /></td></tr>
			</table>
		</form>
	</center>
</body>
</html>